@extends('backend::modal')
@section('title',$page_title)
@section('content')
    <div class="row">
        <div class="col-lg-12">
            @component('backend::component.form.form')
                @slot('form_title') {{$page_title}} @endslot
                @slot('formId') admin-edit @endslot
                @slot('action') {{route('b_Admin_update',['admin_name'=>$info->mgr_name])}} @endslot

                @component('backend::component.form.form-group')
                    @slot('title') 管理员名 @endslot
                    @component('backend::component.form.input')
                        @slot('name') admin_name @endslot
                        @slot('value') {{$info->mgr_name ?? ''}} @endslot
                    @endcomponent
                @endcomponent

                @component('backend::component.form.form-group')
                    @slot('title') 邮箱 @endslot
                    @component('backend::component.form.input')
                        @slot('name') admin_email @endslot
                        @slot('value') {{$info->mgr_email ?? ''}} @endslot
                    @endcomponent
                @endcomponent

                @component('backend::component.form.form-group')
                    @slot('title') 手机号 @endslot
                    @component('backend::component.form.input')
                        @slot('name') admin_mobile @endslot
                        @slot('value') {{$info->mgr_mobile ?? ''}} @endslot
                    @endcomponent
                @endcomponent

                @slot('buttons')
                    @component('backend::component.form.button')
                        @slot('title') 提交 @endslot
                        @slot('params') {"formId":"#admin-edit"} @endslot
                        @slot('class') btn-min-width ajax-form @endslot
                    @endcomponent
                    @component('backend::component.form.button')
                        @slot('title') 重置 @endslot
                        @slot('type') reset @endslot
                        @slot('color') danger @endslot
                        @slot('class') btn-min-width @endslot
                    @endcomponent
                @endslot
            @endcomponent
        </div>
        <!--/.col-->
    </div>
@endsection
@push('scripts')
    <script type="text/javascript">
    </script>
@endpush